/**
 * 
 */
package com.mycompany.client.widgets.form;

import com.mycompany.shared.EnvConstants;
import com.smartgwt.client.types.Alignment;
import com.smartgwt.client.widgets.Button;
import com.smartgwt.client.widgets.layout.HLayout;

/**
 * @author coral.ma
 *
 */
public class CoralRightButtonForm extends HLayout {

	public CoralRightButtonForm() {
		setWidth100();
		setHeight(25);
		setTop(20);
		setAlign(Alignment.RIGHT);
		setMembersMargin(EnvConstants.PADDING);
	}
	
	public void addButtons(Button... buttons) {
		for(Button btn : buttons) {
			addMember(btn);
		}
	}

}
